export default {
    data() {
        return { activeId: 0 }
    },
    computed: {
        skipCount() {
            if(this.menus && this.menus.length < 4){
                return 0; // 总是不翻页
            }else{
                return this.activeId > 2 ? 3 : 0;
            }
        }
    },
    mounted() {
        this.activeId =parseInt(this.$route.query.index) || 0;
    }
}